//
//  ReadPageView_Memo.h
//  KidReading
//
//  Created by telen on 16/4/26.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import "TLEventView.h"

#define MemoButtonEvent_TouchUpInSile  @"MemoButtonEvent_TouchUpInSile"
#define MemoButtonEvent_AddNewMemoBtn  @"MemoButtonEvent_AddNewMemoBtn"

@interface MemoButton : UIButton
@property(nonatomic,strong)NSString* oldTxt;
@property(nonatomic,strong)NSString* txt;
@property(nonatomic,assign)BOOL isEditModel;
@property(nonatomic,assign)long long createTime;
@property(nonatomic,assign)long long modyTime;
@end

@interface ReadPageView_Memo : TLEventView

@property(nonatomic,strong,readonly)NSMutableArray<MemoButton*>* delMemoBtnList;
@property(nonatomic,strong,readonly)NSMutableArray<MemoButton*>* modyMemoBtnList;
@property(nonatomic,strong,readonly)NSMutableArray<MemoButton*>* syncMemoBtnList;

- (void)clearSyncMemoBtns;
- (MemoButton*)addMemoBtnWith_pt:(CGPoint)pt text:(NSString*)text creatTime:(long long)cttime modyTime:(long long)mdtime;

- (void)list_ModyBtn:(MemoButton*)mbtn;
- (void)list_DelBtn:(MemoButton*)mbtn;

@end
